package com.hemaapp.yjnh.view;

import com.android.uu.view.swipelistview.SwipeListView;

import android.content.Context;
import android.util.AttributeSet;
import xtom.frame.view.XtomListView;

/**带有侧滑删除的listview
 * @author GuiyouZhang
 * Date: 2015-09-06
 */
public class SildeListView extends SwipeListView {

	public SildeListView(Context context, AttributeSet attrs) {
		super(context, attrs);
	}

	public SildeListView(Context context, AttributeSet attrs, int defStyle) {
		super(context, attrs, defStyle);
	}

	@Override
	protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
		heightMeasureSpec = MeasureSpec.makeMeasureSpec(Integer.MAX_VALUE>>2, MeasureSpec.AT_MOST);
		super.onMeasure(widthMeasureSpec, heightMeasureSpec);
	}

}
